#ifndef TMUSIC_H_
#define TMUSIC_H_

#include "SDL_mixer.h"
#include <string>


class TMusic
{
public :
    TMusic();
    TMusic(std::string);
    ~TMusic();
    int play();
    void stop();
    void pause();
    void resume();

private :
    std::string FileName;
    bool state; // State , 0 paused, 1 playing
    Mix_Music *music;

};
#endif
